import {
	http
} from '../httpIndex.js'

export default {
	// 未打卡学生列表
	getSdAttendanceRateByBuildStorey(data) {
		return http.post(
			`app/report/getSdAttendanceRateByBuildStorey`, data
		)
	},
	// 考勤统计列表
	getSdAttenceStuCountByBuildStorey(data) {
		return http.post(
			`app/report/getSdAttenceStuCountByBuildStorey`, data
		)
	},
	// 异常统计列表
	getStuExcAttence(data) {
		return http.post(
			`app/report/getStuExcAttence`, data
		)
	},
	
	// 获取月度数据面板数据
	getMonthlyDormitoryStatistics(userId, month, type) {
		return http.get(`app/statistics/getDeptDormitorySummary?userId=${userId}&month=${month}&operateType=${type}`)
	},
	
	// 获取月度数据面板详细数据
	getStatisticalDetailData(classId, month, type) {
		return http.get(`app/statistics/getMonthlyStudentDormitorySummary?classId=${classId}&month=${month}&operateType=${type}`)
	},
}
